package com.lcq.demo.repository;

import com.lcq.demo.entity.po.ScheduleTask;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ScheduleTaskRepository extends JpaRepository<ScheduleTask, Integer>, JpaSpecificationExecutor<ScheduleTask> {

    List<ScheduleTask> findByTaskStatus(int i);

}
